package cn.kgc.client;

import cn.kgc.base.vo.SecKillSkuInfoVo;
import cn.kgc.commons.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2023年01月07日13:52
 */
@FeignClient(value = "mall-pms",path = "/pms",fallback = SeckillSkuClientImpl.class)
public interface SeckillSkuClient {
    @GetMapping("/SkuInfo/detail/{skuId}")
    Result<SecKillSkuInfoVo> detail1(@PathVariable("skuId") Long skuId);


}
